package com.sfeir.android.friendapps.model;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * The user class
 * @author Nazim
 */
public class User implements Serializable {
	private static final long serialVersionUID = 7390103290165670089L;
	private Long id;
	private String status;
	private String lang;
	private Long lastDate;
	private String listeId;
	private String mail;
	private ArrayList<String> appLink;
	private ArrayList<String> appName;
	private ArrayList<String> appImg;

	public User() {

	}


	public Long getId()
	{
		return id;
	}


	public void setId(Long id)
	{
		this.id = id;
	}


	public void setListeId(String listeId) {
		this.listeId = listeId;
	}

	public String getListeId() {
		return listeId;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getMail() {
		return mail;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	public void setAppLink(ArrayList<String> appLink) {
		if (this.appLink == null){
			this.appLink = new ArrayList<String>();
		}
		this.appLink.clear();
		this.appLink.addAll(appLink);
	}

	public ArrayList<String> getAppLink() {
		return appLink;
	}

	public void setAppName(ArrayList<String> appName) {
		if (this.appName == null){
			this.appName = new ArrayList<String>();
		}
		this.appName.clear();
		this.appName.addAll(appName);
	}

	public ArrayList<String> getAppName() {
		return appName;
	}

	public void setAppImg(ArrayList<String> appImg) {
		if (this.appImg == null){
			this.appImg = new ArrayList<String>();
		}
		this.appImg.clear();
		this.appImg.addAll(appImg);
	}

	public ArrayList<String> getAppImg() {
		return appImg;
	}


	public void setLang(String lang) {
		this.lang = lang;
	}


	public String getLang() {
		return lang;
	}


	public void setLastDate(Long lastDate) {
		this.lastDate = lastDate;
	}


	public Long getLastDate() {
		return lastDate;
	}
}
